package com.wx.sys.service;

import com.wx.sys.model.biz.SysRescView;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * Created by king-pc on 2018/12/5.
 */
@RequestMapping("/roleRescApi")
@FeignClient(value = "wx-provider-sys")
public interface SysRoleRescFeignApi {

    /**
     *
     * @param roleId
     * @return
     */
    @PostMapping("/getRoleRescList")
    public List<SysRescView> getRoleRescList(@RequestParam("roleId") String roleId);
}
